<%@page pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
<base href="${pageContext.request.requestURI}">
<link rel="shortcut icon" href="../favicon.ico"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"><title>NEUSOFT | OA</title><link rel="stylesheet" href="../common.css"><link rel="stylesheet" href="../thirdparty-lib/fontawesome/font-awesome.min.css"><script src="../thirdparty-lib/jquery/jquery.min.js"></script><script src="../common.js"></script>
<script src="../thirdparty-lib/fancytree/jquery.fancytree-all-deps.min.js"></script>
<link href="../thirdparty-lib/fancytree/ui.fancytree.css" rel="stylesheet">
<style>
</style>
</head>
<body class="layout-vbox">
    <nav>
        <ol class="breadcrumb">
            <li>
                <a
                    href="javascript:window.top.dashboard()"
                    class="fa fa-dashboard">首页 </a>
            </li>
            <li>系统管理</li>
            <li>
                <b>功能模块管理</b>
            </li>
        </ol>
    </nav>
    <menu>
        <a id="addBtn" class="btn" href="add.html">
                            新增
        </a>
    </menu>

    <section  class="pad-h grow">
    	<table class="data"  id="functionalityTableTree">
            <thead>
                <tr>
                    <th>#</th>
                    <th>名称</th>
                    <th>操作</th>
                    <th>URL</th>
                    <th>备注</th>
                </tr>
            </thead>
            <tbody>
                <c:forEach var="r" items="${requestScope.md}" varStatus="vs">
                <tr>
             	<td>${vs.count}</td>
             	<td>${r.name}</td>
             	<td>
             	<a href="check.html#${r.id}">查看</a>
             	</td>
             	<td>${r.url}</td>
             	<td>${r.remark}</td>
 				</tr>               
                </c:forEach>
            </tbody>
        </table>
       <footer> 共 <b>${fn:length(requestScope.md)}</b>条数据 </footer>
    </section>
</body>

</html>